package com.lwj.mallchat.common.common.event;

import com.lwj.mallchat.common.user.domain.entity.User;
import com.lwj.mallchat.common.user.service.UserBackpackService;
import com.lwj.mallchat.common.user.service.impl.UserBackpackServiceImpl;
import lombok.Data;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationEvent;

/**
 * @author lwj
 * @ClassName UserRegisterEvent
 * @date 2024/10/22 11:00
 */
@Getter
public class UserRegisterEvent extends ApplicationEvent {

    private User user;

    public UserRegisterEvent(Object source, User user) {
        super(source);
        this.user = user;

    }
}
